﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Ylh.Enums;

public partial class 示例OR测试_ReadConfig : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //
        //主配置信息
        Response.Write("<p>ConnectionStr:" + GlobalConfig.ConnectionStr + "</p>");
        Response.Write("<p>DbType:" + GlobalConfig.DbType + "</p>");
        Response.Write("<p>DbVersion:" + GlobalConfig.DbVersion + "</p>");


        //读写分离用配置信息
        Response.Write("<p>ReadConnectionStr:" + GlobalConfig.ReadConnectionStr + "</p>");
        Response.Write("<p>ReadDbType:" + GlobalConfig.ReadDbType + "</p>");
        Response.Write("<p>ReadDbVersion:" + GlobalConfig.ReadDbVersion + "</p>");


    }
}